Grudgingly accept function values in the function position
authorMattias Engdegård <mattiase@acm.org>
Mon, 5 Feb 2024 16:56:11 +0000 (17:56 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 5 Feb 2024 17:02:19 +0000 (18:02 +0100)
commit5e69376292994ffe69b7f8f52ae1ad85c60c2d29
tree034db50033fe762a575f2bb3e13365a01ae92499
parent95c8bfb11ec82e67652e5903495c1fcb5c61ace2
Grudgingly accept function values in the function position

* lisp/emacs-lisp/cconv.el (cconv-convert):
Warn about (F ...) where F is a non-symbol function value (bytecode
object etc), but let it pass for compatibility's sake (bug#68931).
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp--fun-value-as-head):
New test.
lisp/emacs-lisp/cconv.el
test/lisp/emacs-lisp/bytecomp-tests.el